package com.example.administrator.mobliesafe;

import android.app.Activity;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.widget.Button;

import com.example.administrator.mobilesafe.utils.BaseSetupAcitivity;

public class Setup1Activity extends BaseSetupAcitivity {
    private Button setup1Next;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setup1);
        setup1Next = (Button) findViewById(R.id.bt_setup1_next);
        setup1Next.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                next(v);
            }
        });
    }

    @Override
    public void showPre() {

    }

    @Override
    public void showNext() {
        Intent i= new Intent(Setup1Activity.this,Setup2Activity.class);
        startActivity(i);
        finish();
        overridePendingTransition(R.anim.tran_out,R.anim.tran_in);
    }


}
